This page last changed on Aug 04, 2007 by jdeolive.
KML Legend Overlays
Overview
One of the operations of WMS is GetLegendGraphic which allows a WMS client to obtain a legend graphic from the server for a particular layer. Combining it with KML overlays produces a nice way to produce legends in Google Earth.
Using Legend Overlays
Getting GeoServer to return KML with a legend overlay is easy. All one must do is append the parameter "legend=true" to a KML request. For example:

 |
Google Earth aggressively caches overlays. Which means if you change a style in GeoServer expecting it to impact the look of your legend overlay chances are it will not until you restart Google Earth. |
|